package com.wzh.activity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wzh.activity.vo.OrderVo;
import com.wzh.common.utils.PageUtils;
import com.wzh.activity.entity.OrderInfoEntity;
import com.wzh.common.utils.R;

import java.util.Map;

/**
 * 
 *
 * @author wzh
 * @email 1281204121@qq.com
 * @date 2022-02-22 09:21:45
 */
public interface OrderInfoService extends IService<OrderInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage2(Map<String, Object> params);

    R add(OrderVo orderVo) throws InterruptedException;

    R updOrder(String orderNo, String orderAmount);

    OrderInfoEntity getByGoodsIdAndUserId(Long goodsid, String userid);

}

